package com.kehutong.employee.entity;

import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
@Table(value="t_member_position", comment="职务", multi=true)
public class Position extends Entity {

	private static final long serialVersionUID = 1734688661607403126L;

	protected Position(String id) {
        super(id);
    }

    @Column(comment = "职务名称")
    private String name;

	@Column(comment = "排序")
	private int sort;

    @JSONField(serialize=false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isDeleted() {
		return deleted;
	}

	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}
}